// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_hm_greylisting_triplets
// * CreateDate    : 2014-06-05 18:29:57
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:57
// * LastChanger   : 2014-06-05 18:29:57
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HmGreylistingTripletsTable : TableInfo
    {
		public const string C_TableName = "hm_greylisting_triplets";
		
		public const string C_glid = "glid";
		public const string C_glcreatetime = "glcreatetime";
		public const string C_glblockendtime = "glblockendtime";
		public const string C_gldeletetime = "gldeletetime";
		public const string C_glipaddress1 = "glipaddress1";
		public const string C_glipaddress2 = "glipaddress2";
		public const string C_glsenderaddress = "glsenderaddress";
		public const string C_glrecipientaddress = "glrecipientaddress";
		public const string C_glblockedcount = "glblockedcount";
		public const string C_glpassedcount = "glpassedcount";
		
		public HmGreylistingTripletsTable()
        {
            _tableName = "hm_greylisting_triplets";
        }
		
		protected static HmGreylistingTripletsTable _current;
        public static HmGreylistingTripletsTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HmGreylistingTripletsTable();

            _current.Add(C_glid, new ColumnInfo(C_glid,"Glid", true, typeof(long)));
            _current.Add(C_glcreatetime, new ColumnInfo(C_glcreatetime,"Glcreatetime", false, typeof(DateTime)));
            _current.Add(C_glblockendtime, new ColumnInfo(C_glblockendtime,"Glblockendtime", false, typeof(DateTime)));
            _current.Add(C_gldeletetime, new ColumnInfo(C_gldeletetime,"Gldeletetime", false, typeof(DateTime)));
            _current.Add(C_glipaddress1, new ColumnInfo(C_glipaddress1,"Glipaddress1", false, typeof(long)));
            _current.Add(C_glipaddress2, new ColumnInfo(C_glipaddress2,"Glipaddress2", false, typeof(long)));
            _current.Add(C_glsenderaddress, new ColumnInfo(C_glsenderaddress,"Glsenderaddress", false, typeof(string)));
            _current.Add(C_glrecipientaddress, new ColumnInfo(C_glrecipientaddress,"Glrecipientaddress", false, typeof(string)));
            _current.Add(C_glblockedcount, new ColumnInfo(C_glblockedcount,"Glblockedcount", false, typeof(int)));
            _current.Add(C_glpassedcount, new ColumnInfo(C_glpassedcount,"Glpassedcount", false, typeof(int)));
			
		}
		
		public ColumnInfo glid
        {
            get { return this[C_glid]; }
        }
		
		public ColumnInfo glcreatetime
        {
            get { return this[C_glcreatetime]; }
        }
		
		public ColumnInfo glblockendtime
        {
            get { return this[C_glblockendtime]; }
        }
		
		public ColumnInfo gldeletetime
        {
            get { return this[C_gldeletetime]; }
        }
		
		public ColumnInfo glipaddress1
        {
            get { return this[C_glipaddress1]; }
        }
		
		public ColumnInfo glipaddress2
        {
            get { return this[C_glipaddress2]; }
        }
		
		public ColumnInfo glsenderaddress
        {
            get { return this[C_glsenderaddress]; }
        }
		
		public ColumnInfo glrecipientaddress
        {
            get { return this[C_glrecipientaddress]; }
        }
		
		public ColumnInfo glblockedcount
        {
            get { return this[C_glblockedcount]; }
        }
		
		public ColumnInfo glpassedcount
        {
            get { return this[C_glpassedcount]; }
        }
		
		
		
	}
}

